package top.dbpanda.cmsjpa.learn.rmi.proxy;

/**
 * 静态代理模式
 */
public class RealSubject implements Subject {
    @Override
    public boolean rent(int money) {
        System.out.println("租房" + money + "元");
        return true;
    }
}
